import { Injectable } from '@nestjs/common';
import MaoTai from './getMaoTai.service';

@Injectable()
export class AppService {
  constructor(private readonly maoTai: MaoTai) {}

  async getData() {
    await this.maoTai.getProduct();
  }

  getHello(): string {
    this.getData();
    return 'Hello World!';
  }
}
